import numpy as np
import matplotlib.pyplot as plt

c = 3
max_val = c ** 0.5
x = np.linspace(-max_val, max_val, 100)
y1 = (3 - x ** 2) ** 0.5
plt.plot(x, y1, 'r-')
y2 = -(3 - x ** 2) ** 0.5
plt.plot(x, y2, 'r-')
plt.xlim(-5, 5)
plt.ylim(-5, 5)
plt.show()
